@import "flex.scss";
@import "vars.scss";
@import "theme.scss";

page {
  -webkit-overflow-scrolling: touch; // ios滑动不流畅
  height: 100%;
  background: $u-bg-color;
  width: 100%;
  font-size: 28rpx;
  // font-family: OPPOSANS;
  word-break: break-all; //英文文本不换行
  white-space: normal;
}

::-webkit-scrollbar {
  width: 0;
  height: 0;
  color: transparent;
  display: none;
}

.juzhong_transform {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
}

.pointer {
  cursor: pointer;
}

.block {
  display: block;
}

.inline {
  display: inline-block;
}

.tl {
  text-align: left;
}

.tr {
  text-align: right;
}

.tc {
  text-align: center;
}

.fw {
  font-weight: bold;
}

.position-relative {
  position: relative;
}

.marign-auto {
  margin: 0 auto;
}

.oya {
  overflow-y: auto;
}

// ui
.u-list {
  height: auto !important;
}

// h5 tabbar 遮挡问题
uni-page-body > uni-view {
  /* #ifndef APP-PLUS || H5 */
  padding-bottom: var(--window-bottom);
  /* #endif */
}
.uni-table-th{
	background-color:  #F5F7FE
}

// .uni-table,
// .uni-table-td,
// .uni-table-th,
.u-cell,
.u-cell__body,
.u-collapse-item__content, 
.u-cell--clickable {
	background-color: $bg-color !important;
}
// .uni-table {
// 	min-width: 0 !important;
// }
.u-collapse-item__content {
	border-bottom-right-radius: 20rpx;
	border-bottom-left-radius: 20rpx;
}
.u-cell,.u-cell__body {
	border-top-left-radius: 20rpx !important;
	border-top-right-radius: 20rpx !important;
}
.u-empty {
	margin-top: 80rpx !important;
}
.content-item-title {
  color: $title-color;
  font-size: 36rpx;
  font-weight: 700;
  padding: 0rpx 30rpx 0rpx 10rpx;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;

  &::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -10rpx;
    width: 4px;
    height: 1.1rem;
    background: #0052D9;
    transform: translateY(-50%);
  }
}

.bg-white {
  background: #fff;
  padding-top: 20rpx;
}
.uni-table-td {
  font-size: 24rpx !important;
}

.outer-box {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}
.popup {
  .msg {
    font-size: 30rpx;
    background: transparent;
    display: flex;
    flex-direction: column;
    color: #fff;
    width: 400rpx;
    background: rgba(0, 0, 0, 0.7);
    padding: 20rpx;
    border-radius: 20rpx;

    .title {
      text-align: center;
      font-size: 30rpx;
    }

    .line {
      width: 100%;
      height: 1rpx;
      background: #d8d8d8;
    }

    &-item {
      width: 100%;
      justify-content: space-between;
      display: flex;
      align-items: center;
      margin-top: 10rpx;
      font-size: 24rpx;
      .fx {
        width: 70rpx;
        height: 56rpx;
      }

      .dot {
        width: 20rpx;
        height: 20rpx;
        border-radius: 50%;
        margin-right: 8rpx;
      }
    }
  }
}

.level_1 {
  color: #ff0000;
}

.level_2 {
  color: #ffd700;
}

.level_3 {
  color: #4169e1;
}

.level_4 {
  color: #7fffd4;
}

.grid-value {
	padding-top: 50rpx;
}

.grid-title {
	padding-bottom: 20rpx;
}

.charts-box {
	height: 600rpx;
}

.p-between {
	padding-left: 20rpx;
	padding-right: 20rpx;
}

.container {
	height: 100%;
	background-color: $page-bg-color;
}

.card {
	position: relative;
	padding: 20rpx;
	background-color: #fff;
	border-radius: 20rpx;
	margin-top: 20rpx;
	box-shadow: 0 0 2px 2px #2172FC;
	&:first-child {
		margin-top: 0;
	}
}

// .my-popup {

// 		:deep(.u-fade-enter-active),
// 		:deep(.u-slide-right-enter-to) {
// 			top: 176rpx !important; // 自定义导航栏高度和状态栏高度(可获取)
// 		}
// 	}
	
.leaflet-right {
		display: none !important;
	}
.leaflet-container {
		background-color: #10172d !important;
	}
	
.u-steps-item__line {
		height: 100px !important
	}